home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2000 #5 / Amiga Plus CD - 2000 - No. 5.iso / Tools / Dev / fpc / source / docs / crtex / ex13.pp < prev    next >
Encoding:
Text File  |  2000-01-01  |  417 b   |  16 lines

  1. Program Example13;
  2. uses Crt;
  3.  
  4. { Program to demonstrate the TextBackground function. }
  5.  
  6. begin
  7.   TextColor(White);
  8.   WriteLn('This is written in with the default background color');
  9.   TextBackground(Green);
  10.   WriteLn('This is written in with a Green background');
  11.   TextBackground(Brown);
  12.   WriteLn('This is written in with a Brown background');
  13.   TextBackground(Black);
  14.   WriteLn('Back with a black background');
  15. end.
  16.